package com.example.h1nson.realphotography.entity;

import java.util.Date;

/**
 * Created by H1nson on 2016/4/27.
 */
public class Photo {
// Fields

    private Integer photoId;
    private Integer photoOwner;
    private String photoUrl;
    private String photoAddress;
    private Date photoDate;
    private Integer photoNegativeCom;
    private Integer photoActiveCom;
    private double longtitude,latitude;
    // Constructors

    /** default constructor */
    public Photo() {
    }

    /** minimal constructor */
    public Photo(Integer photoOwner) {
        this.photoOwner = photoOwner;
    }

    /** full constructor */
    public Photo(Integer photoOwner, String photoUrl, double longtitude,double latitude,String photoAddress,
                 Date photoDate, Integer photoNegativeCom, Integer photoActiveCom) {
        this.photoOwner = photoOwner;
        this.photoUrl = photoUrl;
        this.longtitude = longtitude;
        this.latitude = latitude;
        this.photoAddress = photoAddress;
        this.photoDate = photoDate;
        this.photoNegativeCom = photoNegativeCom;
        this.photoActiveCom = photoActiveCom;
    }

    // Property accessors

    public double getLatitude() {
        return latitude;
    }

    public double getLongtitude() {
        return longtitude;
    }

    public Integer getPhotoId() {
        return this.photoId;
    }

    public void setPhotoId(Integer photoId) {
        this.photoId = photoId;
    }

    public Integer getPhotoOwner() {
        return this.photoOwner;
    }

    public void setPhotoOwner(Integer photoOwner) {
        this.photoOwner = photoOwner;
    }

    public String getPhotoUrl() {
        return this.photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public String getPhotoAddress() {
        return this.photoAddress;
    }

    public void setPhotoAddress(String photoAddress) {
        this.photoAddress = photoAddress;
    }

    public Date getPhotoDate() {
        return this.photoDate;
    }

    public void setPhotoDate(Date photoDate) {
        this.photoDate = photoDate;
    }

    public Integer getPhotoNegativeCom() {
        return this.photoNegativeCom;
    }

    public void setPhotoNegativeCom(Integer photoNegativeCom) {
        this.photoNegativeCom = photoNegativeCom;
    }

    public Integer getPhotoActiveCom() {
        return this.photoActiveCom;
    }

    public void setPhotoActiveCom(Integer photoActiveCom) {
        this.photoActiveCom = photoActiveCom;
    }

}
